#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

int maximumWealth(int** accounts, int accountsSize, int* accountsColSize)
{
    int max = 0;
    int sum = 0;

    for (int i = 0; i < accountsSize; i++)
    {
        for (int j = 0; j < *accountsColSize; j++)
        {
            sum += accounts[i][j];

            max = max > sum ? max : sum;
        }
        sum = 0;
    }
    return max;
}

int main()
{
	return 0;
}